package ${JarName}.service;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

import ${JarName}.entity.${ClassName}Entity;
import ${JarName}.service.${ClassName}Service;

/**
 * 定义${ClassAliseName}Rest服务接口
 */
@Component
@Path("/${ClassName?lower_case}/")
public class Rest${ClassName}Service extends BaseRestService<${ClassName}Entity> {
	
	@Autowired
	private ${ClassName}Service service;

	@Override
	protected BaseService<${ClassName}Entity> getService() {
		return service;
	}
	
	@Override
	protected String getServiceName() {
		return "${ClassName?lower_case}";
	}
}
